package com.santu.edu.supporter.biz.order.pojo.params;

import com.santu.edu.supporter.biz.order.pojo.dto.GoodInfo;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author luoyaoqi
 * @createTime 2024/3/18
 * @description
 */
@Data
public class OrderAddParam {

    /**
     * 商品id集合
     */
    private List<GoodInfo> goodList;

    /**
     * 总价格
     */
    private BigDecimal price;

    /**
     * 备注信息
     */
    private String remarkInfo;

    /**
     * 送货地址id
     */
    @NotBlank(message = "addressId不能为空")
    private String addressId;
}
